package com.qn.example.service;

import com.qn.example.pojo.Category;

import com.qn.example.pojo.Page;

import java.util.List;

/**
 * @author 21276
 * @version 1.0
 * @date 2023/5/4 14:27
 */
public interface CategoryService {


    Page<Category> findByPage(Integer page, Integer pageSize);

    //添加菜品或套餐
    void save(Category category);

    //修改
    void updateEmp(Category category);

    //删除
    void delete(Long id);


    List<Category> foodClassNames(Integer type);

    List<Category> findAllCategory();
}
